#################################
# Traditional Institutions in Africa, Past and Present
# Full replication
#
# Clara Neupert-Wentz & Carl Müller-Crepon
# August 2023
#################################

# Cleanup
rm(list = ls())

# LIBRARIES ###############
source(file.path("scripts/libraries.R"))


# HELPER FUNCTIONS ###############
source(file.path("scripts/analysis_setup.R"))


# ANALYSIS OF OVERALL PERSISTENCE 
source(file.path("scripts/analysis_persistence.R"))


# ANALYSIS OF INDIRECT RULE #####
source(file.path("scripts/analysis_indrule.R"))


# ANALYSIS OF CONSTITUTIONS #####
source(file.path("scripts/analysis_constitut.R"))


# ANALYSIS OF ETHNIC MATCHING ###
source(file.path("scripts/analysis_ethnicmatching.R"))


# ANALYSIS OF INTERCODER AGREEMENT
source(file.path("scripts/analysis_intercoder.R"))


